/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.contract.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 合同
 *
 * @author Administrator
 */
public class Contract {

    private int type = -1;//合同类型，0：主合同，1：补充合同
    private String number = ""; //主合同编号    
    private MainInformation mainInfo = new MainInformation();//合同基本信息
    private ContractContent content = new ContractContent();//合同内容
    private ContractItem item = new ContractItem();//合同条款
    private PayInformation payInfo = new PayInformation();//付款信息
    private Matter matter = new Matter();//其他事项
    private Duty duty = new Duty();//违约责任
    private List<String> supplyContractNumberList = new ArrayList<String>();//补充合同编号列表

    public ContractContent getContent() {
        return content;
    }

    public void setContent(ContractContent content) {
        this.content = content;
    }

    public Duty getDuty() {
        return duty;
    }

    public void setDuty(Duty duty) {
        this.duty = duty;
    }

    public ContractItem getItem() {
        return item;
    }

    public void setItem(ContractItem item) {
        this.item = item;
    }

    public MainInformation getMainInfo() {
        return mainInfo;
    }

    public void setMainInfo(MainInformation mainInfo) {
        this.mainInfo = mainInfo;
    }

    public Matter getMatter() {
        return matter;
    }

    public void setMatter(Matter matter) {
        this.matter = matter;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
//
//    public String getOtherNumber() {
//        return otherNumber;
//    }
//
//    public void setOtherNumber(String otherNumber) {
//        this.otherNumber = otherNumber;
//    }

    public PayInformation getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(PayInformation payInfo) {
        this.payInfo = payInfo;
    }

    public List<String> getSupplyContractNumberList() {
        return supplyContractNumberList;
    }

    public void setSupplyContractNumberList(List<String> supplyContractNumberList) {
        this.supplyContractNumberList = supplyContractNumberList;
    }
}
